﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.BLL.ViewModel;
using OFB.Domain;

namespace OFB.BLL.Repository
{
    public interface ICourseSubjectBLL: IRepository<CourseSubjectViewModel>
    {
        ICollection<CourseSubjectViewModel> FindAll();

        ICollection<Subject> FindUnusedSubject(int courseId, string subjectCode,
                                                        string subjectName, int status,
                                                        int Offset, int MaxItem,
                                                        out int UnusedSubjectCount);

        int Delete(int CourseSubjectId);

        int Add(int courseId, int subjectId, int groupId);
    }
}
